const user = {
    state: {
        userInfo: {},
        visible: false,
        isLogin: false,
    },
    getters: {},
    mutations: {
        setUserInfo(state, payload) {
            console.log(state, 'state')
            console.log(payload, 'payload')
            state.userInfo = payload
        },
        setVisible(state, payload) {
            state.visible = payload
        },
        setIsLogin(state, payload) {
            state.isLogin = payload
        }
    },
    actions: {}
}
export default user;